package com.electron.server.dao;

import com.electron.server.dto.QZJAnalysisStrain_realTimeDTO;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
import org.apache.ibatis.annotations.Param;

@Repository
@Mapper
public interface QZJAnalysisStrain_realTimeDao {
    int addQzjRealTime(QZJAnalysisStrain_realTimeDTO qzjRealTime);
    int updateQzjRealTimeByDeviceId(QZJAnalysisStrain_realTimeDTO qzjRealTime);
    QZJAnalysisStrain_realTimeDTO getQzjRealTimeByDeviceIdAndNumber(@Param("deviceId")String deviceId, @Param("channelNumber")Integer channelNumber);
}
